package com.qhhc.entity;

import java.util.Date;

public class CarInspection {
    private Long inspectionId;
    private Long carId;
    private String inspector;
    private Date inspectionDate;
    private String exteriorCondition;
    private String interiorCondition;
    private String mechanicalCondition;
    private String electricalCondition;
    private String reportUrl;
    private String result;
    private Date createTime;
    
    // 额外字段用于关联显示
    private String carNum;
    private String carBrand;
    
    @Override
    public String toString() {
        return "CarInspection{" +
                "inspectionId=" + inspectionId +
                ", carId=" + carId +
                ", inspector='" + inspector + '\'' +
                ", inspectionDate=" + inspectionDate +
                ", exteriorCondition='" + exteriorCondition + '\'' +
                ", interiorCondition='" + interiorCondition + '\'' +
                ", mechanicalCondition='" + mechanicalCondition + '\'' +
                ", electricalCondition='" + electricalCondition + '\'' +
                ", reportUrl='" + reportUrl + '\'' +
                ", result='" + result + '\'' +
                ", createTime=" + createTime +
                ", carNum='" + carNum + '\'' +
                ", carBrand='" + carBrand + '\'' +
                '}';
    }

    // Getters and Setters
    public Long getInspectionId() {
        return inspectionId;
    }

    public void setInspectionId(Long inspectionId) {
        this.inspectionId = inspectionId;
    }

    public Long getCarId() {
        return carId;
    }

    public void setCarId(Long carId) {
        this.carId = carId;
    }

    public String getInspector() {
        return inspector;
    }

    public void setInspector(String inspector) {
        this.inspector = inspector;
    }

    public Date getInspectionDate() {
        return inspectionDate;
    }

    public void setInspectionDate(Date inspectionDate) {
        this.inspectionDate = inspectionDate;
    }

    public String getExteriorCondition() {
        return exteriorCondition;
    }

    public void setExteriorCondition(String exteriorCondition) {
        this.exteriorCondition = exteriorCondition;
    }

    public String getInteriorCondition() {
        return interiorCondition;
    }

    public void setInteriorCondition(String interiorCondition) {
        this.interiorCondition = interiorCondition;
    }

    public String getMechanicalCondition() {
        return mechanicalCondition;
    }

    public void setMechanicalCondition(String mechanicalCondition) {
        this.mechanicalCondition = mechanicalCondition;
    }

    public String getElectricalCondition() {
        return electricalCondition;
    }

    public void setElectricalCondition(String electricalCondition) {
        this.electricalCondition = electricalCondition;
    }

    public String getReportUrl() {
        return reportUrl;
    }

    public void setReportUrl(String reportUrl) {
        this.reportUrl = reportUrl;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
    public String getCarNum() {
        return carNum;
    }
    
    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }
    
    public String getCarBrand() {
        return carBrand;
    }
    
    public void setCarBrand(String carBrand) {
        this.carBrand = carBrand;
    }
} 